package com.kelaite.procurement.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.kelaite.procurement.entity.TPaidList;

public interface PaidListRepository extends JpaRepository<TPaidList, Long>{
	@Query(value = "select * from t_paid_list where  company_id =?1 order by gmt_update_time desc", nativeQuery = true)
	public List<TPaidList> getPaidListOrderByTime(Long companyId);
}
